package cn.maihe.elg.operation.model.bo;

import cn.maihe.elg.operation.model.dto.BaseReq;
import cn.maihe.elg.operation.model.enums.GuaranteeTemplateType;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Description 电子保函pdf模板参数
 * @Author WJH
 * @Date 2021/09/26
 */
@Getter
@Setter
public class GuaranteeTemplatePdfParams extends BaseReq {

    @NotNull(message = "适用保函模板类型不能为空")
    private GuaranteeTemplateType guaranteeTemplateType;
    /**
     * 出函机构名称
     */
    private String guarantorName;
    /**
     * 出函机构联系地址
     */
    private String guarantorAddress;

    @NotEmpty(message = "保函编号不能为空")
    private String guaranteeNo;
    @NotEmpty(message = "受益人名称不能为空")
    private String tenderName;
    @NotEmpty(message = "投标人名称不能为空")
    private String bidderName;
    //@NotBlank(message = "投标人统一社会信用代码不能为空")
    private String bidderCode;
    //@NotEmpty(message = "项目名称不能为空")
    private String projectName;
    //@NotEmpty(message = "标段名称不能为空")
    private String sectionName;
    @NotEmpty(message = "大写保证金不能为空")
    private String bidBond;
    @NotEmpty(message = "小写保证金不能为空")
    private String bidBondLower;

    //@NotEmpty(message = "大写保费金额不能为空")
    private String guaranteeFee;
    //@NotEmpty(message = "小写保费金额不能为空")
    private String guaranteeFeeLower;
    /**
     * 取值出函时间
     * */
    @NotEmpty(message = "保函签约year不能为空")
    private String year;
    @NotEmpty(message = "保函签约month不能为空")
    private String month;
    @NotEmpty(message = "保函签约day不能为空")
    private String day;


    /**
     * 取值项目标发布时间
     * */
//    @NotEmpty
    private String pubYear;
//    @NotEmpty
    private String pubMonth;
//    @NotEmpty
    private String pubDay;

    private String tenderAddress;
    private String bidderAddress;

    /**
     * 暂取值保函截止时间
     * */
    @NotEmpty
    private String endYear;
    @NotEmpty
    private String endMonth;
    @NotEmpty
    private String endDay;


    /**
     * 取值开标时间
     */
    @NotEmpty(message = "保函签约year不能为空")
    private String openY;
    @NotEmpty(message = "保函签约month不能为空")
    private String openM;
    @NotEmpty(message = "保函签约day不能为空")
    private String openD;
}
